using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace BanHangCshap
{
    public partial class frmThu : DevExpress.XtraEditors.XtraForm
    {
        public frmThu()
        {
            InitializeComponent();
        }

        private void frmThu_Load(object sender, EventArgs e)
        {
            string strconn = "Data Source=112.78.2.190,1455;Initial Catalog=batdongsan_duchau;User ID=batdongsan_sa;Password=123456";
            try
            {
                DatabaseStatic.conn = new SqlConnection(strconn);
                DatabaseStatic.conn.Open();
            }
            catch (Exception ex)
            {
                UltitityStatic.thongBaoLoi(ex.ToString());
            }
        }
    }
}